Skip to content

Add infinite precision Int type#5675

Merged
StachuDotNet merged 6 commits into
darklang:mainfrom
OceanOak:infinite-precision-int
Jun 25, 2026
Merged

Add infinite precision Int type#5675
StachuDotNet merged 6 commits into
darklang:mainfrom
OceanOak:infinite-precision-int

Conversation

@OceanOak

@OceanOak OceanOak commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

This PR adds arbitrary-precision Int as the default integer

A suffixless 1 is now an arbitrary-precision Int (bigint backed) instead of Int64, so arithmetic never overflows and needs no suffix; the sized ints (Int8UInt128) are unchanged.

Follow-ups

@OceanOak OceanOak force-pushed the infinite-precision-int branch from 31aaec2 to 3283125 Compare June 12, 2026 18:22
@OceanOak OceanOak changed the title WIP: Add support for infinite precision int Add infinite precision Int type Jun 12, 2026
@OceanOak OceanOak marked this pull request as ready for review June 12, 2026 18:52
@OceanOak OceanOak requested a review from StachuDotNet June 15, 2026 13:43
@OceanOak OceanOak force-pushed the infinite-precision-int branch from 2de6262 to 7704723 Compare June 15, 2026 15:59
@StachuDotNet StachuDotNet merged commit 8ef1de0 into darklang:main Jun 25, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants